.class Lcom/estrongs/android/pop/view/FileExplorerActivity$s0;
.super Ljava/lang/Object;
.source "FileExplorerActivity.java"

# interfaces
.implements Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Les/q70;Ljava/lang/String;)Lcom/estrongs/android/view/ImageFileGridViewWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$s0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$s0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 2
    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    if-eqz p1, :cond_2

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/fs/l;->b()Z

    move-result p2

    if-eqz p2, :cond_1

    .line 4
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$s0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p2

    .line 5
    instance-of p3, p2, Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    if-eqz p3, :cond_2

    .line 6
    invoke-virtual {p2, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/g;)V

    goto :goto_1

    .line 7
    :cond_1
    new-instance p2, Lcom/estrongs/android/util/TypedMap;

    invoke-direct {p2}, Lcom/estrongs/android/util/TypedMap;-><init>()V

    const/4 p3, 0x0

    .line 8
    invoke-static {p3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p3

    const-string v0, "by_open_as"

    invoke-virtual {p2, v0, p3}, Lcom/estrongs/android/util/TypedMap;->put(Ljava/lang/String;Ljava/lang/Object;)Lcom/estrongs/android/util/TypedMap;

    const-string p3, "view_from"

    const-string v0, "view_local_gallery"

    .line 9
    invoke-virtual {p2, p3, v0}, Lcom/estrongs/android/util/TypedMap;->put(Ljava/lang/String;Ljava/lang/Object;)Lcom/estrongs/android/util/TypedMap;

    .line 10
    iget-object p3, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$s0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 11
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    .line 12
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    .line 13
    invoke-static {p3, v0, v1, p2}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/android/util/TypedMap;)V

    .line 14
    invoke-static {}, Les/ru;->i()Les/ru;

    move-result-object p2

    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p2, p1}, Les/ru;->b(Ljava/lang/String;)V

    :cond_2
    :goto_1
    return-void
.end method
